
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
  <?php print render($title_prefix); ?>
  <?php if (!$page): ?>
     <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
  <?php endif; ?>
  <?php print render($title_suffix); ?>

  <?php if ($display_submitted): ?>
    <span class="submitted">
    <?php print $submitted; ?>
    </span>
  <?php endif; ?>

  <div class="content clearfix"<?php print $content_attributes; ?>>
    <?php
      // We hide the comments and links now so that we can render them later.
      hide($content['comments']);
      hide($content['links']);
	  //print_r($content['add_to_cart']);
    ?>
  </div>
  
  
<div id="product" class="grid_12 content clearfix"<?php print $content_attributes; ?>>
      <div id="product_images" class="grid_6 alpha thumnail">
      	<?php
			
		?>

      	<?php 
      	//print render($content['uc_product_image'][0]);
      		print theme('image_style', array('path' => $node->uc_product_image['und'][0]['uri'], 'style_name' => 'medium'));
			unset($content['uc_product_image'][0]);
      	?>
      </div>
      <div id="product_info" class="grid_6 omega">
        <dl class="clearfix">
          <dd><?php print t('Color') .': '. $node->color; ?></dd>
          <dd><?php print t('Size') .': '. $node->size; ?></dd>
          <dd><?php print render($content['sell_price']);?></dd>
        </dl>
        <div id="product_buy" class="clearfix">
        	<?php print render($content['add_to_cart']);?>
        </div>
      </div>
      <div class="clear"></div>
      <br/>
      <div class="s_tabs grid_12 alpha omega">
        <div class="s_tab_box">
          <div id="product_description">
            <div class="cpt_product_description ">
             <?php print render($content['body']);?>
			<div id="container">
				<?php if(isset($content['uc_product_image'][1])) {
	             	print render($content['uc_product_image']);
	             }
				 ?>
			</div>
            </div>
          </div>
        </div>
      </div>
</div>

  
  

  <div class="clearfix">
    <?php if (!empty($content['links'])): ?>
      <div class="links"><?php //print render($content['links']); ?></div>
    <?php endif; ?>
    
    <?php if ($page != 0): ?>
      <?php if ($submitted): ?>
          <?php  print $shoppa_postfooter; ?>
      <?php endif; ?>
    <?php endif; ?>

    <?php if (!empty($content['comments'])): ?>
      <?php //print render($content['comments']); ?>
    <?php endif; ?>
  </div>
</div>


